package com.examination.domain.exam.entity;

import com.examination.domain.exam.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.kevinwalker.core.annotation.Collection;

import java.util.List;

@Data
@Collection("exam_paper")
@NoArgsConstructor
@AllArgsConstructor
public class ExamPaper {

    /**
     * 模板试卷ID
     */
    private String eaminationID;

    /**
     * 答卷用户ID
     */
    private String userID;

    /**
     * 用户加入时间
     */
    private String userJoinTime;

    /**
     * 用户完成时间
     */
    private String userFinishTime;

    /**
     * 试题索引表
     */
    private List<Integer> questionIndexList;

    /**
     * 试题标准答案列表
     */
    private List<List<String>> answersList;

    /**
     * 试题用户答案列表
     */
    private List<List<String>> answerUsersList;

    /**
     * 试题成绩列表
     */
    private List<Double> sourceList;

    /**
     * 选项乱序,true乱序，false不乱序
     */
    private Boolean answerOrder;

    /**
     * 题目乱序,true乱序，false不乱序
     */
    private Boolean questionOrder;

    /**
     * 多选题未选全给一半分,true给一半分，false不给分
     */
    private Boolean unSelected;

    private BaseEntity baseEntity;
}
